package com.jiangyg.mall.coupon.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 类描述：商品满减信息
 * 
 * @author jiangyg
 * @email email@jiangyg.com
 * @date 2021-10-18 21:33:05
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode
@TableName("mc_sku_full_reduction")
public class SkuFullReduction implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(type = IdType.ASSIGN_ID)
	@TableField("id")
	private Long id;

	/**
	 * spu_id
	 */
	@TableField("sku_id")
	private Long skuId;

	/**
	 * 满多少
	 */
	@TableField("full_price")
	private BigDecimal fullPrice;

	/**
	 * 减多少
	 */
	@TableField("reduce_price")
	private BigDecimal reducePrice;

	/**
	 * 是否叠加其他优惠[0-不可叠加，1-可叠加]
	 */
	@TableField("superposable")
	private Integer superposable;

}
